module.exports = app => {
  const { INTEGER, STRING } = app.Sequelize;
  const SysDict = app.model.define("sys_dict", {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    source: { type: STRING(50), allowNull: false },
    key: { type: STRING(50), allowNull: false },
    value: { type: STRING(50), allowNull: false }
  });
  return SysDict;
};
